package com.lzh.article.controller;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.lzh.article.entity.ApArticle;
import com.lzh.article.entity.ApAuthor;
import com.lzh.article.service.ApArticleService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
    import com.lzh.core.controller.AbstractCoreController;

/**
* <p>
* 文章信息表，存储已发布的文章 控制器</p>
* @author lzh
* @since 2021-06-24
*/
@RestController
@RequestMapping("/articlelist")
public class ApArticleController extends AbstractCoreController<ApArticle> {

    private ApArticleService apArticleService;

    //注入
    @Autowired
    public ApArticleController(ApArticleService apArticleService) {
        super(apArticleService);
        this.apArticleService = apArticleService;
    }

}

